package com.example.demo.mapper;

import com.example.demo.bean.SWarehouse;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SWarehouseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SWarehouse record);

    SWarehouse selectByPrimaryKey(Integer id);
    
    List<SWarehouse> selectByRegionId(Integer id);

    List<SWarehouse> selectAll();

    int updateByPrimaryKey(SWarehouse record);
    
    List<SWarehouse> selectByCondition(
    		@Param("id")Integer id,
    		@Param("regionId") Integer regionId,
    		@Param("managerId")Integer managerId
    		);
    
    int batchDelete(int [] id);
}